<template>
	<view>
		<view class="cflex-c" style="justify-content: center;align-items: center;margin-top: 100rpx;">
			<image src="../../static/logo.png" style="width: 130rpx;height: 130rpx; border-radius: 20rpx;"></image>
		</view>

		<view class="cbg-white u-p-l-20 u-p-r-20 u-p-t-25" style="margin-top: 100rpx;">
			<view class="cflex-r u-m-b-25" style="justify-content: space-between;align-items: center;" @tap="cjwtClick()">
				<view>
					常见问题
				</view>
				<view class="u-m-r-10">
					<image style="width: 14rpx;height: 24rpx;" src="../../static/qieTu/arrow-right.png"></image>
				</view>
			</view>

			<view class="u-m-b-25" style="width: 100%;">
				<u-divider :use-slot="false" half-width="350"></u-divider>
			</view>
			<view class="cflex-r u-m-b-25" style="justify-content: space-between;align-items: center;" @tap="goXieYi(1)">
				<view>
					用户协议
				</view>
				<view class="u-m-r-10">
					<image style="width: 14rpx;height: 24rpx;" src="../../static/qieTu/arrow-right.png"></image>
				</view>
			</view>

			<view class="u-m-b-25" style="width: 100%;">
				<u-divider :use-slot="false" half-width="350"></u-divider>
			</view>
			<view class="cflex-r u-m-b-25" style="justify-content: space-between;align-items: center;" @tap="goXieYi(2)">
				<view>
					隐私政策
				</view>
				<view class="u-m-r-10">
					<image style="width: 14rpx;height: 24rpx;" src="../../static/qieTu/arrow-right.png"></image>
				</view>
			</view>

			<view class="u-m-b-25" style="width: 100%;">
				<u-divider :use-slot="false" half-width="350"></u-divider>
			</view>
			<view class="cflex-r u-m-b-25" style="justify-content: space-between;align-items: center;" @tap="goXieYi(3)">
				<view>
					客服热线
				</view>
				<view class="u-m-r-10">
					<image style="width: 14rpx;height: 24rpx;" src="../../static/qieTu/arrow-right.png"></image>
				</view>
			</view>

			<view class="u-m-b-25" style="width: 100%;">
				<u-divider :use-slot="false" half-width="350"></u-divider>
			</view>
		</view>


	</view>

</template>

<script>
	export default {
		data() {
			return {
				
			}
		},
		onShow() {

		},
		onLoad(options) {

		},
		computed: {

		},
		methods: {
			onTabClick(index) {
				this.tabLists[this.current].isSelect = false;
				this.tabLists[index].isSelect = true;
				this.current = index;
			},
			cjwtClick(){
				uni.navigateTo({
					url:'./chang_jian_wen_ti'
				})
			},
			goXieYi(i){
				 //console.log(i);
				let url = this.$store.state.url_1;
				if(i==1){
					url = this.$store.state.url_1;
				}
				if(i==2){
					url = this.$store.state.url_2;
				}
				if(i==3){
					url = this.$store.state.url_3;
				}
				uni.navigateTo({
					url:`./xieyi?url=`+url
				})
			}
		}
	}
</script>

<style>
	page {
		background-color: #F6F7F8;
	}
</style>
